# -*- coding:utf-8 -*-
"""
Author：Administrator
Date:2021年09月28日
"""
import pandas as pd
import pymysql

conn = pymysql.connect(host='localhost',user='root',password='1234',database='示例文件',charset='utf8')
data = pd.read_sql('select * from 1班',con=conn)
print(data)